﻿// ====================================
// Created By Angie.D 2010.6
// ====================================

using System;
using System.Collections.Generic;
using System.Text;

using System.Windows.Forms;

namespace WOWMultiPlay
{
    public class HotkeyWndProcHost : Control
    {
        protected override void WndProc(ref Message msg)
        {
            base.WndProc(ref msg);

            foreach (mpButton mpbtn in Settings.Profile.mpButtons)
            {
                if (mpbtn.Hotkey != null)
                {
                    mpbtn.Hotkey.ProcessHotkey(msg);
                }
            }
        }
    }
}